import { post,get } from '../http';


export const getAllCycles = async () =>
  await get(`/api//qxCycle/getCycles`);

export const getAllModes = async ({ cycle_code,bk_jiezou}) =>
  await post(`/api/qxCycle/getModes`,{ cycle_code,bk_jiezou});

export const getModeSetting = async ({ cycle_code,bk_jiezou}) =>
  await post(`/api/qxCycle/getModeSetting`,{ cycle_code,bk_jiezou});

export const saveModeSetting = async (data) =>
  await post(`/api/qxCycle/saveModeSetting`,data);

export const getAllJyr = async () =>
  await get(`/api/getAllJyr`);

export const getBkInfo = async (jyr) =>
  await post(`/api/qxCycle/getBkInfo`,jyr);


